﻿Imports WPFGlue.Framework

Namespace Validation
    Public Class ErrorTemplateSuppressor
        Implements IStickyComponent


        Public ReadOnly Property Mode() As AttachMode Implements IStickyComponent.Mode
            Get
                Return AttachMode.OnInitialized
            End Get
        End Property

        Public Sub OnAttach(ByVal sender As Object, ByVal e As System.EventArgs) Implements IStickyComponent.OnAttach
            System.Windows.Controls.Validation.SetErrorTemplate(sender, Nothing)
        End Sub

        Public Sub OnDetach(ByVal sender As Object, ByVal e As System.EventArgs) Implements IStickyComponent.OnDetach

        End Sub
    End Class
End Namespace
